package com.dmagic.cms.service;

import java.util.List;
import java.util.Map;

import com.dmagic.cms.common.exception.ServiceException;
import com.dmagic.cms.common.exception.ValidateException;
import com.dmagic.cms.common.query.PageUtil;
import com.dmagic.cms.entity.Company;

public interface CompanyService {

	public void saveCompany(Company[] company) throws ValidateException;

	public void searchContactUs(PageUtil<Map> pageUtil) throws ServiceException;

	public void searchAboutUs(PageUtil<Map> pageUtil) throws ServiceException;

	public Company getCompany(Long companyId) throws ServiceException;

	public List<Company> getCompanyByCompanyNo(String companyNo) throws ServiceException;

	public void deleteCompany(List<Long> companyIds) throws ServiceException;

	public void deleteCompany(Long companyId) throws ServiceException;
	
	public List<Company> getCompanyPropertyName(String propertyName, Object value) throws ServiceException;
}
